<h2>Hello World!</h2>
This is the Modular ZF project demo.<br />
&copy;2009 by Mon Zafra.<br />
<br />
This is but a proof of concept. Don't expect any of the modules below to be fully featured,
although you are very welcome to build on them.
<?php if ($this->module('crud')) : ?>
    <h4>CRUD Module</h4>
    <ul>
        <li><a href="<?php echo $this->url(array('module' => 'crud')); ?>">CRUD interface</a></li>
        <li>Register a new account through the user module to generate a table.</li>
    </ul>
<?php endif; ?>

<?php if ($this->module('user')) : ?>
    <h4>User Module</h4>
    <ul>
        <li><a href="<?php echo $this->url(array('controller' => 'login', 'module' => 'user')); ?>">Login</a></li>
        <li><a href="<?php echo $this->url(array('controller' => 'register', 'module' => 'user')); ?>">Register</a></li>
    </ul>
<?php endif; ?>

<?php if ($blog = $this->module('blog')) : ?>
    <h4>Blog Module</h4>
    <ul>
        <li><a href="<?php echo $this->url(array('module' => 'blog')); ?>">Blog index</a></li>
        <li>This module requires Doctrine.</li>
        <li>The CSS and links should work properly out of the box, but you should read the
        README file in <tt><?php echo $blog->pathTo(); ?></tt> for performance notes.
        </li>
    </ul>
<?php endif; ?>